<%@ taglib prefix="s" uri="/struts-tags" %>
<html>
	<head>
		<title><s:text name="application.title"/></title>
		<link href="<s:url value="/css/main.css"/>" rel="stylesheet"
		type="text/css"/>
	</head>
	<body>
		<div class="titleDiv"><s:text name="application.title"/></div>
		<h1>
			<s:text name="label.subjectStudents.marksStudentsBy"/> " <s:property value="prof.nombre"/>" <s:text name="label.subjectStudents.forSubject"/> " <s:property value="nomAsig"/> "
		</h1>
		<br/>
		
		<table class="borderAll">
		    <tr>
		        <th><s:text name="header.subjectStudents.dni"/></th>
				<th><s:text name="header.subjectStudents.name"/></th>
				<th><s:text name="header.subjectStudents.number"/></th>
		        <th>&nbsp;&nbsp;</th>
		    </tr>
		    <s:iterator value="listAlus" status="status">
		        <tr class="<s:if test="#status.even">even</s:if><s:else>odd</s:else>">
		            <td class="nowrap"><s:property value="dni"/></td>
		            <td class="nowrap"><s:property value="nombre"/></td>
		            <td class="nowrap"><s:property value="telefono"/></td>
		            <td class="nowrap">
						<s:url id="addMark" action="doLecturer!addMark">
							<s:param name="aluID" value="%{id}" />
						</s:url>
						<s:a href="%{addMark}"><s:text name="label.studentSubjectMarkingForm.addMark"/></s:a>
					</td>
		    	</tr>
		    </s:iterator>
		</table>
	</body>

</html>